package com.hyk.mapper;

import com.hyk.pojo.MyUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    MyUser selectUserById(@Param("uid") Integer uid);

    List<MyUser> selectAllUser();

    void addUser(MyUser user);

    void updateUser(MyUser user);

    void deleteUser(Integer uid);

}
